<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3-idle</Name>
        <Homepage>https://www.python.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>custom</License>
        <PartOf>programming.language</PartOf>
        <Summary>An Integrated Development Environment for Python</Summary>
        <Description>An Integrated Development Environment for Python</Description>
         <Archive sha1sum="19acd6a341e4f2d7ff97c10c2eada258e9898624" type="tarxz">https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz</Archive>
        <BuildDependencies>
            <!--<Dependency>valgrind</Dependency> -->
            <Dependency>bzip2</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>tcl-devel</Dependency>
            <Dependency>gdbm-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>mpdecimal-devel</Dependency>
        </BuildDependencies>
        <Patches>
        <!--<Patch level="1">dont-make-libpython-readonly.patch</Patch> 
        <Patch level="1">0001-compileall-Fix-ddir-when-recursing.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>python3-tk</Name>
        <IsA>library</IsA>
        <Icon>python</Icon>
        <PartOf>programming.language.python3</PartOf>
        <Summary>Python modules for Tk</Summary>
        <RuntimeDependencies>
            <Dependency>tcl</Dependency>
            <Dependency>tcltk</Dependency>
            <Dependency version="current">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*/tkinter</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/turtledemo</Path>
            <Path fileType="library">/usr/lib/python3.9/lib-dynload/_tkinter.cpython-39-x86_64-linux-gnu.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>idle3</Name>
        <Icon>idle</Icon>
        <IsA>app:gui</IsA>
        <PartOf>programming.environment</PartOf>
        <Summary>An Integrated Development Environment for Python</Summary>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
            <Dependency>python3-tk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="executable">/usr/bin/idle3*</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="library">/usr/lib/python*/idlelib</Path>
        </Files>
        <AdditionalFiles>
            <!--AdditionalFile permission="0644" target="/usr/share/pixmaps/idle3.png">python-logo.png</AdditionalFile-->
            <AdditionalFile permission="0644" target="/usr/share/applications/idle3.desktop">idle.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="17">
            <Date>2023-01-29</Date>
            <Version>3.9.16</Version>
            <Comment>Version bump.</Comment>
            <Name>Ali Cengiz Kurt</Name>
            <Email>alicengizkurt@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-12-04</Date>
            <Version>3.9.15</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-06-11</Date>
            <Version>3.9.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2021-12-14</Date>
            <Version>3.9.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-10-22</Date>
            <Version>3.9.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-05-20</Date>
            <Version>3.8.9</Version>
            <Comment>version bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2020-08-30</Date>
            <Version>3.8.5</Version>
            <Comment>Patch version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-07-22</Date>
            <Version>3.8.3</Version>
            <Comment>Patch version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-03-28</Date>
            <Version>3.8.2</Version>
            <Comment>Patch version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-12-10</Date>
            <Version>3.8.0</Version>
            <Comment>First release</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
    </History>
</PISI>
